﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace mozhi.smarterp.Business.Sales.ProductPrice
{
    public class SaleProductPriceCreateDto
    {
        public Guid? CustomerId { get; set; }

        public string Code { get; set; }

        public string Name { get; set; }

        public Guid CurrencyId { get; set; }

        public bool IncludeTax { get; set; }

        public List<SaleProductPriceItemCreateDto> Items { get; set; }

    }

    public class SaleProductPriceItemCreateDto : EntityDto<Guid>
    {
        public Guid ProductId { get; set; }

        public decimal? MinQuantity { get; set; }

        public decimal? MaxQuantity { get; set; }

        public decimal Price { get; set; }

        public Guid? TaxRateId { get; set; }

        public DateTime EffectiveDate { get; set; }

        public DateTime ExpirationDate { get; set; }

        public int Index { get; set; }
    }
}
